<%@ page import="entidade.Paciente" %>



<div class="fieldcontain ${hasErrors(bean: pacienteInstance, field: 'cpf', 'error')} required">
	<label for="cpf">
		<g:message code="paciente.cpf.label" default="Cpf" />
		<span class="required-indicator">*</span>
	</label>
	<g:field name="cpf" type="number" value="${pacienteInstance.cpf}" required=""/>

</div>

<div class="fieldcontain ${hasErrors(bean: pacienteInstance, field: 'dataNasc', 'error')} required">
	<label for="dataNasc">
		<g:message code="paciente.dataNasc.label" default="Data Nasc" />
		<span class="required-indicator">*</span>
	</label>
	<g:datePicker name="dataNasc" precision="day"  value="${pacienteInstance?.dataNasc}"  />

</div>

<div class="fieldcontain ${hasErrors(bean: pacienteInstance, field: 'nome', 'error')} required">
	<label for="nome">
		<g:message code="paciente.nome.label" default="Nome" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="nome" required="" value="${pacienteInstance?.nome}"/>

</div>

